package com.mi.service;


import com.mi.entity.*;

import java.util.List;

public interface Service_PointService {

    /**
     * 查询所有服务网点接口
     * @return
     */
    public List<ServicePointEntity> queryServicePoint();

    /**
     * 添加维修服务
     * @param repairEntity
     * @return
     */
    public boolean insertRepair(RepairEntity repairEntity);

    /**
     * 资料索取 添加
     * @param dataRequestEntity
     * @return
     */
    public boolean insertDataRequest(DataRequestEntity dataRequestEntity);

    /**
     * 添加投诉建议
     * @param complaintSuggestEntity
     * @return
     */
    public boolean insertComplaintSuggestService(ComplaintSuggestEntity complaintSuggestEntity);

    /**
     * 查询维修服务
     * @param repairEntity
     * @return
     */
    public MyPages<RepairEntity> queryRepairs(RepairEntity repairEntity);

    /**
     * 删除微信服务
     * @param ids
     * @return
     */
    public boolean delRepair( String[] ids);

    /**
     * 查询资料索取
     * @param dataRequestEntity
     * @return
     */
    public MyPages<DataRequestEntity> queryDataRequests(DataRequestEntity dataRequestEntity);

    /**
     * 删除资料索取
     * @param ids
     * @return
     */
    public boolean delDataRequest( String[] ids);


    /**
     * 查询投诉建议
     * @param complaintSuggestEntity
     * @return
     */
    public MyPages<ComplaintSuggestEntity> queryComplaintSuggests(ComplaintSuggestEntity complaintSuggestEntity);

    /**
     * 删除投诉建议
     * @param ids
     * @return
     */
    public boolean delComplaintSuggest(String[] ids);

    /**
     * 查询合作伙伴
     * @return
     */
    public MyPages<PartnerEntity> queryPartnerService(PartnerEntity pt);

}
